Dynamic Member Security
Note: while basic member security is available for all supported data models, dynamic member security is not supported for MS OLAP, Tabular, SAP BW and SAP Hana models and cubes.
PQL Script Editor for Security
You can build your script in the PQL Editor, which displays a range of PQL functions and the meta-structure of the data model.
How to Set Dynamic Member Security
- After choosing the relevant data model and role, open the Member Security panel.
- Choose the required hierarchy from the Select Hierarchy panel.
- Security tables and columns will appear under Member Security, and will displayed in red font; you can use them to build your script if relevant.
- Switch from Basic to Script from the drop down.
- Choose whether to enable or disable the members for the given role.
- Write your script; click Advanced Script icon (blue arrow) to open the PQL Security Script Editor.
- Click Apply to save changes.
Security Tables
If the data model contains security tables or columns, these will appear in the Select Hierarchy panel under Member Security, and will be displayed in red text (red highlight below).
Security tables are like normal tables but are often included in the data schema to allow for efficient scripting options when creating dynamic security logic. In this scenario, member security can be set for these hierarchies, and they can be used to build custom sets which are targeted to specified user roles using the PQL Identity functions when working from script mode.
Importantly, security tables are ONLY visible in the security editor for this purpose. They are not shown to end users for normal analysis, scripting or logic.